package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bwie.poi.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * description:
 *
 * @Author caoshuaifeng
 * @Create 2025/3/1 9:15
 * @Version 1.0
 */
@Data
@TableName("tb_prod")
public class TbProd {
    @TableId(type= IdType.AUTO)
    private Integer prodId;
    @Excel(name = "商品名称")
    private String prodName;
    @Excel(name = "商品价格")
    private Double prodPrice;
    @Excel(name = "商品库存")
    private Integer prodStock;
    @Excel(name = "商品库存下限")
    private Integer stockMin;
    private Integer prodStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8",shape = JsonFormat.Shape.STRING)

    private Date createTime;
    private Integer shopId;
    @TableField(exist = false)
    private List<String> imgList;
    private Integer typeId;




}
